package my.thesis.utilities;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import backtype.storm.tuple.Tuple;

public class JoinFieldsTupleSentimentReliable implements Serializable
{
	private static final long serialVersionUID = 1L;

    private Integer pos;
    private Integer neg;
    private List<Tuple> anchors;
    
    
    public JoinFieldsTupleSentimentReliable (Integer pos,Integer neg)
    {
    	this.pos=pos;
    	this.neg=neg;
    	this.anchors=new ArrayList<Tuple>();
    }
    
    public List<Tuple> getAnchors()
    {
    	return this.anchors;
    }
     
    public Integer getPos()
    {
        return this.pos;
    }

    public Integer getNeg()
    {
        return this.neg;
    }

    public void setPos(int value)
    {
        this.pos = value;
    }

    public void setNeg(int value)
    {
        this.neg = value;
    }
    
    public void addToList(Tuple tuple)
    {
    	this.anchors.add(tuple);
    }

}
